﻿using DataAccessObject;
using DataAccessObject.DAO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BUSINESS
{
    public static class KhoiLopBUS
    {
        static KhoiLopDAO dao = new KhoiLopDAO();
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static List<KHOILOP> getAllKhoiLop()
        {
            return dao.getAllKhoiLop();
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="khoilop"></param>
        /// <returns></returns>
        public static List<MONHOC> getAllMonHocByKhoiLop(KHOILOP khoilop)
        {
            return dao.getAllMonHocByKhoiLop(khoilop);
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="monhoc"></param>
        /// <returns></returns>
        public static List<KHOILOP> getKhoiLopByMonHoc(MONHOC monhoc)
        {
            return dao.getKhoiLopByMonHoc(monhoc);
        }
    }
}
